#!/bin/bash
if [ -z $1 ]; then
	echo "no VM selected."
	echo "use: Restart-VM [name of VM]"
else
	vboxmanage controlvm $1 reset
fi
